﻿//12.Write a program that reads from the console a positive integer 
//number N (N < 20) and outputs a matrix.

using System;

namespace Matrix
{
    class Matrix
    {
        static void Main()
        {
            Console.Write("Enter N = ");
            int n = int.Parse(Console.ReadLine());

            for (int i = 1; i <= n; i++)
            {
                for (int j = 0; j < n; j++)
                {
                    Console.Write("{0,2} ", i + j);
                }
                Console.WriteLine();
            }
        }
    }
}
